
{{ content() }}

<div class="row">

    <div class="col-md-6">
        <div class="page-header">
            <h6>Log In</h6>
        </div>

        {{ form('auth/login', 'id': 'loginForm', 'onbeforesubmit': 'return false') }}
            <fieldset>
                <div class="form-group">
                    {{ loginForm.label('user_username', ['class': 'control-label']) }}
                    <div class="controls">
                        {{ loginForm.render('user_username', ['class': 'form-control']) }}
                        {{ loginForm.messages('user_username') }}
                    </div>
                </div>
                 <div class="form-group">
                    {{ loginForm.label('user_password', ['class': 'control-label']) }}
                    <div class="controls">
                        {{ loginForm.render('user_password', ['class': 'form-control']) }}
                        {{ loginForm.messages('user_password') }}
                    </div>
                </div>
                <div class="form-group">
		<div align="center" class="remember">
			{{ loginForm.render('remember') }}
			{{ loginForm.label('remember') }}
		</div>
                    {{ loginForm.render('csrf', ['name': security.getTokenKey(), 'value': security.getToken()]) }}
                    {{ loginForm.render('submit', ['class': 'btn btn-primary btn-large', 'onclick': 'return SignUp.validate();']) }}
<!--                    {{ submit_button('Login', 'class': 'btn btn-success', 'onclick': 'return SignUp.validate();') }}-->
                </div>
            </fieldset>
        </form>
    </div>

    <div class="col-md-6">

        <div class="page-header">
            <h6>Non hai un account?</h6>
        </div>

        <p>Fallo!</p>
        <ul>
            <li>Create, track and export your invoices online</li>
            <li>Gain critical insights into how your business is doing</li>
            <li>Stay informed about promotions and special packages</li>
        </ul>

        <div class="clearfix center">
            {{ link_to('register', 'Sign Up', 'class': 'btn btn-primary btn-large btn-success') }}
        </div>
    </div>

</div>
